package ocpjp.cap1.enums;

public class A {

	static String s = "teste";
	String s2 = "teste2";
	
	public static void main(String[] args) {
		Cafe cafe = Cafe.PEQUENO;
		System.out.println(cafe);

		Cafe2 cafe2 = Cafe2.MEDIO;
		System.out.println(cafe2 + " " + cafe2.getTamanho());

		Cafe3 cafe3_1 = Cafe3.GRANDE;
		System.out.println(cafe3_1 + " " + cafe3_1.getTamanho() + " "
				+ cafe3_1.getCategoria());
		
		Cafe3 cafe3_2 = Cafe3.MEDIO;
		System.out.println(cafe3_2 + " " + cafe3_2.getTamanho() + " "
				+ cafe3_2.getCategoria());
	}
}
